package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.FlowChartNode;
import com.ruoyi.system.domain.FlowChartNodeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FlowChartNodeMapper {
    int countByExample(FlowChartNodeExample example);

    int deleteByExample(FlowChartNodeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FlowChartNode record);

    int insertSelective(FlowChartNode record);

    List<FlowChartNode> selectByExample(FlowChartNodeExample example);

    FlowChartNode selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FlowChartNode record, @Param("example") FlowChartNodeExample example);

    int updateByExample(@Param("record") FlowChartNode record, @Param("example") FlowChartNodeExample example);

    int updateByPrimaryKeySelective(FlowChartNode record);

    int updateByPrimaryKey(FlowChartNode record);

    List<FlowChartNode> getNodeId(@Param("id") Long id);

    int updateModalNode(FlowChartNode flowchartNode);

    FlowChartNode getNdesName(FlowChartNode flowchartNode);

    int updateModalNodeOperationType(FlowChartNode flowchartNode);
}